package com.ruoyi.sl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车间对象 sl_workshop
 * 
 * @author admin
 * @date 2024-06-05
 */
public class SlWorkshop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车间ID */
    private Long workshopId;

    /** 车间名称 */
    @Excel(name = "车间名称")
    private String workshopName;

    /** 车间编码 */
    @Excel(name = "车间编码")
    private String workshopCode;

    /** 负责人 */
    private String leaderUser;

    /** 负责人 */
    @Excel(name = "负责人")
    private String leaderNick;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 模块id */
    private Long moduleId;

    @Excel(name = "模块名称", targetAttr = "moduleName", type = Excel.Type.EXPORT)
    private SlModule module;

    /** 对应部门ID */
    @Excel(name = "对应部门ID")
    private Long deptId;

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public void setWorkshopId(Long workshopId)
    {
        this.workshopId = workshopId;
    }

    public Long getWorkshopId() 
    {
        return workshopId;
    }
    public void setWorkshopName(String workshopName) 
    {
        this.workshopName = workshopName;
    }

    public String getWorkshopName() 
    {
        return workshopName;
    }
    public void setWorkshopCode(String workshopCode) 
    {
        this.workshopCode = workshopCode;
    }

    public String getWorkshopCode() 
    {
        return workshopCode;
    }
    public void setLeaderUser(String leaderUser) 
    {
        this.leaderUser = leaderUser;
    }

    public String getLeaderUser() 
    {
        return leaderUser;
    }
    public void setLeaderNick(String leaderNick) 
    {
        this.leaderNick = leaderNick;
    }

    public String getLeaderNick() 
    {
        return leaderNick;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setModuleId(Long moduleId) 
    {
        this.moduleId = moduleId;
    }

    public Long getModuleId() 
    {
        return moduleId;
    }

    public SlModule getModule() {
        return module;
    }

    public void setModule(SlModule module) {
        this.module = module;
    }

    @Override
    public String toString() {
        return "SlWorkshop{" +
                "workshopId=" + workshopId +
                ", workshopName='" + workshopName + '\'' +
                ", workshopCode='" + workshopCode + '\'' +
                ", leaderUser='" + leaderUser + '\'' +
                ", leaderNick='" + leaderNick + '\'' +
                ", status='" + status + '\'' +
                ", moduleId=" + moduleId +
                ", module=" + module +
                ", deptId=" + deptId +
                '}';
    }
}
